package crivia.ecp.ebp;

import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import crivia.ecp.carry.eb.MoreMenu;

import weaver.conn.RecordSet;
import weaver.file.Prop;
import weaver.general.BaseBean;
import weaver.general.Util;
import weaver.hrm.User;
import weaver.license.PluginUserCheck;
import weaver.systeminfo.RightClickMenu;
import weaver.systeminfo.SystemEnv;

public class E7BP_moreMenu {

	@SuppressWarnings("unused")
	public static void moreMenu(User user , MoreMenu[] moreMenus , List<MoreMenu> menus 
			, HttpServletRequest request , HttpServletResponse response) throws Exception {

		javax.servlet.http.HttpSession session = request.getSession(true);
		response.setContentType("text/html");
		PrintWriter out = response.getWriter();

		int isSysadmin = 0;
		RecordSet rssysadminmenu = new RecordSet();
		rssysadminmenu
				.executeSql("select count(*) from hrmresourcemanager where id="
						+ user.getUID());
		if (rssysadminmenu.next()) {
			isSysadmin = rssysadminmenu.getInt(1);
		}
		int RCMenuWidth = 160;
		int RCMenuHeightStep = 24;
		int RCMenuHeight = 0;
		String RCMenu = "";
		String systemAdminMenu = "";
		int hiddenmenu = 1;

		String RCFromPage = ""; // \u00d0\u00e8\u00d2\u00aa\u00c6\u00c1\u00b1\u00ce\u00d3\u00d2\u00bc\u00fc\u00b5\u00c4\u00d2\u00b3\u00c3\u00e6\u00c3\u00fb\u00b3\u00c6\u00a3\u00ac\u00d3\u00c3\u00d3\u00da\u00ca\u00b9\u00d3\u00c3RightClickMenu1.jsp\u00d0\u00e8\u00d2\u00aa\u00c6\u00c1\u00b1\u00ce\u00d3\u00d2\u00bc\u00fc\u00b5\u00c4\u00d2\u00b3\u00c3\u00e6
		int loadTopMenu = 1; // \u00b9\u00d8\u00b1\u00d5\u00d3\u00d2\u00bc\u00fc\u00b2\u00cb\u00b5\u00a5\u00ba\u00f3\u00a3\u00ac\u00ca\u00c7\u00b7\u00f1\u00bc\u00d3\u00d4\u00d8\u00cd\u00b7\u00b2\u00bf\u00b2\u00d9\u00d7\u00f7\u00b0\u00b4\u00c5\u00a5\u00a3\u00bb1-\u00bc\u00d3\u00d4\u00d8\u00a3\u00ac0-\u00b2\u00bb\u00bc\u00d3\u00d4\u00d8\u00a3\u00ac\u00cf\u00d6\u00d4\u00da\u00d3\u00c3\u00d3\u00da\u00b6\u00e0\u00b2\u00bf\u00c3\u00c5\u00d1\u00a1\u00d4\u00f1\u00bf\u00f2\u00a1\u00a3
		int defaultMenuCount = 0;
		if (isSysadmin > 0) { // \u00d3\u00c3\u00cf\u00b5\u00cd\u00b3\u00b9\u00dc\u00c0\u00ed\u00d4\u00b1sysadmin\u00b5\u00c7\u00c2\u00bd\u00cf\u00b5\u00cd\u00b3\u00bf\u00c9\u00b2\u00e9\u00bf\u00b4\u00d2\u00b3\u00c3\u00e6\u00b5\u00d8\u00d6\u00b7
			systemAdminMenu += "{"
					+ SystemEnv.getHtmlLabelName(21682, user.getLanguage())
					+ ",javascript:viewSourceUrl(),_self} ";
			RCMenuHeight += RCMenuHeightStep;
			defaultMenuCount++;
		}

		if (null != moreMenus)
			for (MoreMenu moreMenu : moreMenus){
				if (null == moreMenu){
					return;
				}
				RCMenu += moreMenu.toString();
				RCMenuHeight += RCMenuHeightStep ;
			}
		if (null != menus)
			for (MoreMenu moreMenu : menus){
				if (null == moreMenu){
					return;
				}
				RCMenu += moreMenu.toString();
				RCMenuHeight += RCMenuHeightStep ;
			}

		out.write(_jsp_string0, 0, _jsp_string0.length);

		/**
		 * \u00bb\u00f1\u00c8\u00a1\u00b5\u00b1\u00c7\u00b0\u00d6\u00f7
		 * \u00cc\u00e2
		 * \u00bc\u00b0\u00b6\u00d4\u00d3\u00a6\u00c6\u00a4\u00b7\u00f4\u00a3
		 * \u00a8init.jsp\u00d6\u00d0setting\u00a3\u00a9
		 */
		String tmpCurTheme = (String) session
				.getAttribute("SESSION_TEMP_CURRENT_THEME");
		String tmpCurskin = (String) session
				.getAttribute("SESSION_CURRENT_SKIN");
		/**
		 * \u00bc\u00ec\u00b2\u00e2\u00cf\u00b5\u00cd\u00b3
		 * \u00c5\u00e4\u00d6\u00c3\u00a3
		 * \u00ac\u00b2\u00e9\u00bf\u00b4\u00ca\u00c7
		 * \u00b7\u00f1\u00ca\u00b9\u00d3\u00c3\u00d3\u00d2
		 * \u00bc\u00fc\u00b2\u00cb\u00b5\u00a5\u00a3
		 * \u00ac\u00c8\u00e7\u00b9\u00fb\u00ca
		 * \u00b9\u00d3\u00c3\u00d3\u00d2\u00bc
		 * \u00fc\u00b2\u00cb\u00b5\u00a5\u00a3
		 * \u00ac\u00ca\u00c7\u00b7\u00f1\u00cf\u00d4\u00ca\u00be\u00b8\u00b4
		 * \u00d6\u00c6\u00ba\u00cd\u00f0\u00a4\u00cc\u00f9\u00b5\u00c4
		 * \u00b0\u00b4\u00c5\u00a5
		 */
		BaseBean baseBeanRigthMenu = new BaseBean();
		int userightmenu = 1;
		int showCopyAndPaste = 0;
		try {
			userightmenu = Util.getIntValue(baseBeanRigthMenu.getPropValue(
					"systemmenu", "userightmenu"), 1);
			showCopyAndPaste = Util.getIntValue(baseBeanRigthMenu.getPropValue(
					"systemmenucopy", "showCopyAndPaste"), 0);
		} catch (Exception e) {

		}
		String iframeShtml = "";
		// iframeShtml +=
		// "<table border=0 cellspacing=0 cellpadding=0 id=menuTable name=menuTable"+menuTableClassStr+">";
		String isIEBrowser = (String) session.getAttribute("browser_isie"); // \u00ca\u00c7\u00b7\u00f1\u00ce\u00aaIE\u00e4\u00af\u00c0\u00c0\u00c6\u00f7
		if (userightmenu == 1) {
			if (showCopyAndPaste == 1 && "true".equals(isIEBrowser)) { // \u00b7\u00c7IE\u00d4\u00dd\u00b2\u00bb\u00d6\u00a7\u00b3\u00d6\u00d5\u00b3\u00cc\u00f9\u00b8\u00b4\u00d6\u00c6
				RCMenu += "{"
						+ SystemEnv.getHtmlLabelName(77, user.getLanguage())
						+ ",javascript:onRCMenu_copy(),_self} ";
				RCMenuHeight += RCMenuHeightStep;
				RCMenu += "{"
						+ SystemEnv.getHtmlLabelName(16180, user.getLanguage())
						+ ",javascript:onRCMenu_plaster(),_self} ";
				RCMenuHeight += RCMenuHeightStep;
				defaultMenuCount = defaultMenuCount + 2;
			}
			iframeShtml += "<div id='menuTable' name='menuTable' style='width: 160px;' unselectable='on' class='b-m-mpanel'>";
		} else {

			iframeShtml += "<div id='menuTable' name='menuTable'  style='padding-left:5px;padding-right:5px;'>";
		}
		RCMenu = Util.StringReplace(RCMenu, "javaScript", "javascript");
		boolean loadRcMenu = true;
		if (hiddenmenu == 1 && userightmenu == 1)
			loadRcMenu = false;

		@SuppressWarnings("rawtypes")
		ArrayList RCMENUArray = new ArrayList();
		RCMenu += systemAdminMenu;
		RCMenu = RCMenu.trim();
		int imgIndex = 0;
		if (!RCMenu.equals("")) {

			// \u00d3\u00c9\u00d4\u00ad\u00c0\u00b4\u00b5\u00c4apXPDropDown.class\u00d7\u00aa\u00ce\u00aa\u00d6\u00b1\u00bd\u00d3\u00d3\u00c3Button\u00a3\u00ac2003-11-18\u00d1\u00ee\u00b9\u00fa\u00c9\u00fa\u00a1\u00a3
			RCMENUArray = Util.TokenizerString(RCMenu, "}");
			if (RCMENUArray == null || RCMENUArray.size() <= defaultMenuCount
					|| loadTopMenu == 0) {
				loadRcMenu = false;
			}

			int itemNumTemp = 0;
			String btnNameTemp = "";
			String urlTemp = "";
			String targetTemp = "";
			String btnPageName = "";

			for (int itemNum = 0; itemNum < RCMENUArray.size(); itemNum++) {
				String RCMENUTemp = (String) RCMENUArray.get(itemNum);
				RCMENUTemp = RCMENUTemp.trim();
				if (!RCMENUTemp.equals("")) {
					RCMENUTemp += "}";
					if (RCMENUTemp.indexOf("{-}") == -1)// \u00c8\u00e7\u00b9\u00fb\u00ca\u00c7\u00d4\u00ad\u00c0\u00b4\u00c4\u00c7\u00b2\u00e5\u00bc\u00fe\u00b5\u00c4\u00b5\u00c4\u00b8\u00f4\u00cf\u00df\u00bc\u00b4\u00d7\u00d6\u00b7\u00fb\u00b4\u00ae\u00d3\u00d0{-}\u00be\u00cd\u00b2\u00bb\u00d4\u00d9\u00c9\u00fa\u00b3\u00c9\u00c1\u00cb
					{
						itemNumTemp++;
						RCMENUTemp = RCMENUTemp.substring(1,
								RCMENUTemp.length() - 1); // \u00c8\u00a5\u00b5\u00f4\u00d7\u00f3\u00d3\u00d2\u00b5\u00c4{}
						RCMENUTemp = RCMENUTemp.trim();
						// ArrayList RCMenuItemArray =
						// Util.TokenizerString(RCMENUTemp,",")
						// ;//\u00b0\u00d1\u00c3\u00bf\u00d2\u00bb\u00cf\u00ee\u00c0\u00ef\u00b5\u00c4\u00b2\u00ce\u00ca\u00fd\u00b7\u00d6\u00bd\u00e2\u00b3\u00f6\u00c0\u00b4
						// 2004-04-22\u00d1\u00ee\u00b9\u00fa\u00c9\u00fa\u00a3\u00ac\u00b8\u00fc\u00b8\u00c4\u00c3\u00bf\u00b8\u00f6\u00b2\u00cb\u00b5\u00a5\u00cf\u00ee\u00b5\u00c4\u00b7\u00d6\u00bd\u00e2\u00b7\u00bd\u00ca\u00bd\u00a3\u00ac\u00b0\u00d1Util.TokenizerString\u00b7\u00bd\u00ca\u00bd\u00bb\u00bb\u00b3\u00c9substring\u00d5\u00e2\u00d1\u00f9\u00be\u00cd\u00c4\u00dc\u00b9\u00cc\u00b6\u00a8\u00ce\u00aa3\u00cf\u00ee\u00bc\u00b4\u00b2\u00cb\u00b5\u00a5\u00c3\u00fb\u00a1\u00a2\u00b5\u00d8\u00d6\u00b7\u00a1\u00a2\u00c4\u00bf\u00b1\u00ea\u00a3\u00ac\u00ca\u00b9\u00b5\u00c3javascript\u00b7\u00bd\u00b7\u00a8\u00c4\u00dc\u00b9\u00bb\u00ca\u00b9\u00d3\u00c3\u00b6\u00e0\u00b8\u00f6\u00b2\u00ce\u00ca\u00fd
						btnNameTemp = RCMENUTemp.substring(0,
								RCMENUTemp.indexOf(","));
						// (String)RCMenuItemArray.get(0);//\u00c3\u00fb\u00b3\u00c6
						btnNameTemp = btnNameTemp.trim();
						urlTemp = RCMENUTemp.substring(
								(RCMENUTemp.indexOf(",") + 1),
								RCMENUTemp.lastIndexOf(",")); // (String)RCMenuItemArray.get(1);//\u00b5\u00d8\u00d6\u00b7\u00bb\u00f2javascript
																// function
						urlTemp = urlTemp.trim();
						targetTemp = RCMENUTemp.substring(
								(RCMENUTemp.lastIndexOf(",") + 1),
								RCMENUTemp.length()); // (String)RCMenuItemArray.get(2);//target
						targetTemp = targetTemp.trim();
						btnPageName = RCMENUTemp.substring(
								RCMENUTemp.lastIndexOf(":") + 1,
								RCMENUTemp.lastIndexOf(",") - 2);
						if (urlTemp.indexOf("javascript:") == -1)// \u00c8\u00e7\u00b9\u00fb\u00d6\u00b1\u00bd\u00d3\u00b8\u00f8url\u00ca\u00b1\u00b4\u00a6\u00c0\u00ed
						{
							if (targetTemp.equals("_blank"))
								urlTemp = "javascript:window.open('" + urlTemp
										+ "','')";
							else if (targetTemp.equals("_parent"))
								urlTemp = "javascript:parent.parent.location.href=\\\""
										+ urlTemp + "\\\"";
							else if ((targetTemp.equals("_self"))
									|| (targetTemp.equals("_top")))
								urlTemp = "javascript:parent.location.href=\\\""
										+ urlTemp + "\\\"";
							else
								urlTemp = "javascript:parent." + targetTemp
										+ ".location.href=\\\"" + urlTemp
										+ "\\\"";
						} else {
							if (urlTemp.indexOf("javascript:location=") != -1)
								urlTemp = "javascript:parent.location.href=\\\""
										+ urlTemp.substring(21,
												urlTemp.length() - 1) + "\\\"";
							else if (urlTemp
									.indexOf("javascript:location.href=") != -1)
								urlTemp = "javascript:parent.location.href=\\\""
										+ urlTemp.substring(26,
												urlTemp.length() - 1) + "\\\"";
							else
								urlTemp = "javascript:parent."
										+ urlTemp.substring(11);
						}
						String imgPath = RightClickMenu.getIconPath(
								itemNumTemp, btnNameTemp);
						if ("".equals(imgPath)) {
							imgIndex++;
							if (imgIndex > 9)
								imgIndex = 0;
						}
						if (userightmenu == 1) {
							if (btnPageName.equals("_table.firstPage")
									|| btnPageName.equals("_table.prePage")) {
								iframeShtml += "<div id='menuItemDivId"
										+ itemNum
										+ "' unselectable='on' class='b-m-item'  onmouseover=\\\"this.className=\\\'"
										+ "b-m-ifocus"
										+ "\\\'\\\" onmouseout=\\\"this.className=\\\'"
										+ "b-m-item"
										+ "\\\'\\\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'>";
								iframeShtml += "<img width=16 src='/wui/theme/"
										+ tmpCurTheme
										+ "/skins/"
										+ tmpCurskin
										+ "/contextmenu/"
										+ ("".equals(imgPath) ? ("default/"
												+ imgIndex + ".png") : ("CM_"
												+ imgPath + ".gif"))
										+ "' align='absmiddle'>";
								iframeShtml += "<button  tyle='button' onclick='"
										+ urlTemp
										+ "'  style='width:"
										+ (RCMenuWidth - 40)
										+ "px;'>"
										+ btnNameTemp + "</button>";
								iframeShtml += "</nobr></div></div>";
							} else {

								iframeShtml += "<div id='menuItemDivId"
										+ itemNum
										+ "' unselectable='on' class='b-m-item'  onmouseover=\\\"this.className=\\\'"
										+ "b-m-ifocus"
										+ "\\\'\\\" onmouseout=\\\"this.className=\\\'"
										+ "b-m-item"
										+ "\\\'\\\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'>";
								iframeShtml += "<img width=16  src='/wui/theme/"
										+ tmpCurTheme
										+ "/skins/"
										+ tmpCurskin
										+ "/contextmenu/"
										+ ("".equals(imgPath) ? ("default/"
												+ imgIndex + ".png") : ("CM_"
												+ imgPath + ".gif"))
										+ "' align='absmiddle'>";
								iframeShtml += "<button  onclick='" + urlTemp
										+ "'   style='width:"
										+ (RCMenuWidth - 40) + "px;'>"
										+ btnNameTemp + "</button>";
								iframeShtml += "</nobr></div></div>";

							}
						} else {

							if (btnPageName.equals("_table.firstPage")
									|| btnPageName.equals("_table.prePage")) {
								iframeShtml += "<button id='"
										+ btnPageName
										+ "' disabled='disabled' UNSELECTABLE='on' class='topClickMenuOut' onmouseover='this.className=\\\"topClickMenuOver\\\"' onmouseout='this.className=\\\"topClickMenuOut\\\"' onclick='"
										+ urlTemp
										+ "' style='width:"
										+ RCMenuWidth
										+ ";height:"
										+ RCMenuHeightStep
										+ "' >&nbsp;<img src='/wui/theme/"
										+ tmpCurTheme
										+ "/skins/"
										+ tmpCurskin
										+ "/contextmenu/"
										+ ("".equals(imgPath) ? ("default/"
												+ imgIndex + ".png") : ("CM_"
												+ imgPath + ".gif"))
										+ "' border=0 align='absmiddle'>&nbsp;"
										+ btnNameTemp + "&nbsp;</button>";
							} else {
								iframeShtml += "<button id='"
										+ btnPageName
										+ "' UNSELECTABLE='on' class='topClickMenuOut' onmouseover='this.className=\\\"topClickMenuOver\\\"' onmouseout='this.className=\\\"topClickMenuOut\\\"' onclick='"
										+ urlTemp
										+ "' style='height:"
										+ RCMenuHeightStep
										+ "' style='padding-top:2px;'>&nbsp;<img  style='margin-top:-2px;'  src='/wui/theme/"
										+ tmpCurTheme
										+ "/skins/"
										+ tmpCurskin
										+ "/contextmenu/"
										+ ("".equals(imgPath) ? ("default/"
												+ imgIndex + ".png") : ("CM_"
												+ imgPath + ".gif"))
										+ "' border=0  style='' align='absmiddle'><span style='padding-top:4px;'>&nbsp;"
										+ btnNameTemp
										+ "&nbsp;</span></button>";
							}
						}
					}
				}
			}
		} else {
			loadRcMenu = false;
			iframeShtml = "";
		}
		int menuCount = (int) (RCMenuHeight / RCMenuHeightStep);
		int RCMenuWidthAll = (int) (menuCount * RCMenuWidth);
		if (userightmenu == 1) {
			iframeShtml += "</div>";
		} else {
			iframeShtml += "</div>";
		}
		int needShow = 0;
		if (loadRcMenu == true) {
			needShow = 1;
		}

		out.write(_jsp_string1, 0, _jsp_string1.length);
		out.print((needShow));
		out.write(_jsp_string2, 0, _jsp_string2.length);
		out.print((tmpCurTheme));
		out.write(_jsp_string3, 0, _jsp_string3.length);
		out.print((tmpCurskin));
		out.write(_jsp_string4, 0, _jsp_string4.length);
		out.print((menuCount));
		out.write(_jsp_string5, 0, _jsp_string5.length);
		out.print((RCMenuWidth));
		out.write(_jsp_string6, 0, _jsp_string6.length);
		out.print((RCMenuWidth));
		out.write(_jsp_string7, 0, _jsp_string7.length);
		out.print((RCMenuWidth));
		out.write(_jsp_string8, 0, _jsp_string8.length);
		out.print((RCMenuHeightStep));
		out.write(_jsp_string9, 0, _jsp_string9.length);
		if (loadRcMenu == true) {
			out.write(_jsp_string10, 0, _jsp_string10.length);
		} else {
			out.write(_jsp_string11, 0, _jsp_string11.length);
		}
		out.write(_jsp_string12, 0, _jsp_string12.length);
		out.print((iframeShtml));
		out.write(_jsp_string13, 0, _jsp_string13.length);
		if (userightmenu == 1) {
			out.write(_jsp_string14, 0, _jsp_string14.length);
		}
		out.write(_jsp_string15, 0, _jsp_string15.length);
		if (userightmenu == 0 && loadRcMenu == true) {
			out.write(_jsp_string16, 0, _jsp_string16.length);
		}
		out.write(_jsp_string17, 0, _jsp_string17.length);

		// System.out.println(request.getRequestURI());
		// System.out.println("userightmenu = " + userightmenu);
		// System.out.println("loadRcMenu = " + loadRcMenu);
		if (userightmenu == 1) {
			out.write(_jsp_string18, 0, _jsp_string18.length);
			out.print((RCMenuWidth + 2));
			out.write(_jsp_string19, 0, _jsp_string19.length);
			out.print((RCMenuHeight + 6));
			out.write(_jsp_string20, 0, _jsp_string20.length);
		} else {
			out.write(_jsp_string21, 0, _jsp_string21.length);
			if (loadRcMenu == false) {
				out.write(_jsp_string22, 0, _jsp_string22.length);
			} else {
				out.write(_jsp_string23, 0, _jsp_string23.length);
			}
			out.write(_jsp_string24, 0, _jsp_string24.length);
			out.print((RCMenuHeightStep + 6));
			out.write(_jsp_string25, 0, _jsp_string25.length);
		}
		out.write(_jsp_string26, 0, _jsp_string26.length);
		if (userightmenu == 0 && loadRcMenu == true) {
			out.write(_jsp_string27, 0, _jsp_string27.length);
			out.print((RCMenuHeightStep + 2));
			out.write(_jsp_string28, 0, _jsp_string28.length);
		}
		out.write(_jsp_string29, 0, _jsp_string29.length);

		if (RCMenuHeight == 0) {

			out.write(_jsp_string30, 0, _jsp_string30.length);
		}
		out.write(_jsp_string31, 0, _jsp_string31.length);
		if (userightmenu == 1) {
			out.write(_jsp_string32, 0, _jsp_string32.length);
		}
		out.write(_jsp_string33, 0, _jsp_string33.length);
		if (userightmenu == 1) {
			out.write(_jsp_string34, 0, _jsp_string34.length);
			if (loadRcMenu == true) {
				out.write(_jsp_string35, 0, _jsp_string35.length);
			} else {
				out.write(_jsp_string36, 0, _jsp_string36.length);
			}
			out.write(_jsp_string37, 0, _jsp_string37.length);
		} else {
			out.write(_jsp_string38, 0, _jsp_string38.length);
		}
		out.write(_jsp_string39, 0, _jsp_string39.length);
		out.print((user.getLanguage()));
		out.write(_jsp_string40, 0, _jsp_string40.length);
		out.print((SystemEnv.getHtmlLabelName(2051, user.getLanguage())));
		out.write(_jsp_string41, 0, _jsp_string41.length);
		out.print((SystemEnv.getHtmlLabelName(2051, user.getLanguage())));
		out.write(_jsp_string42, 0, _jsp_string42.length);
		out.print((SystemEnv.getHtmlLabelName(16635, user.getLanguage())));
		out.write(_jsp_string43, 0, _jsp_string43.length);
		out.print((SystemEnv.getHtmlLabelName(16635, user.getLanguage())));
		out.write(_jsp_string44, 0, _jsp_string44.length);
		out.print((SystemEnv.getHtmlLabelName(411, user.getLanguage())));
		out.write(_jsp_string45, 0, _jsp_string45.length);
		out.print((SystemEnv.getHtmlLabelName(411, user.getLanguage())));
		out.write(_jsp_string46, 0, _jsp_string46.length);

		PluginUserCheck pcheck = new PluginUserCheck();
		boolean isHaveMessager1 = Prop.getPropValue("Messager",
				"IsUseWeaverMessager").equalsIgnoreCase("1");
		int isHaveMessagerRight1 = pcheck.checkPluginUserRight("messager",
				user.getUID() + "");
		if (isHaveMessager1 && user.getUID() != 1 && isHaveMessagerRight1 == 1) {

			out.write(_jsp_string47, 0, _jsp_string47.length);
			out.print((SystemEnv.getHtmlLabelName(23525, user.getLanguage())));
			out.write(_jsp_string48, 0, _jsp_string48.length);
			out.print((SystemEnv.getHtmlLabelName(23525, user.getLanguage())));
			out.write(_jsp_string46, 0, _jsp_string46.length);
		}
		out.write(_jsp_string49, 0, _jsp_string49.length);
		out.print((SystemEnv.getHtmlLabelName(413, user.getLanguage())));
		out.write(_jsp_string50, 0, _jsp_string50.length);
		out.print((SystemEnv.getHtmlLabelName(416, user.getLanguage())));
		out.write(_jsp_string51, 0, _jsp_string51.length);
		out.print((SystemEnv.getHtmlLabelName(422, user.getLanguage())));
		out.write(_jsp_string52, 0, _jsp_string52.length);
		out.print((SystemEnv.getHtmlLabelName(421, user.getLanguage())));
		out.write(_jsp_string53, 0, _jsp_string53.length);
		out.print((SystemEnv.getHtmlLabelName(71, user.getLanguage())));
		out.write(_jsp_string54, 0, _jsp_string54.length);
		out.print((SystemEnv.getHtmlLabelName(18939, user.getLanguage())));
		out.write(_jsp_string55, 0, _jsp_string55.length);
		out.print((SystemEnv.getHtmlLabelName(596, user.getLanguage())));
		out.write(_jsp_string56, 0, _jsp_string56.length);
	}

	private final static char[] _jsp_string27;
	private final static char[] _jsp_string30;
	private final static char[] _jsp_string26;
	private final static char[] _jsp_string51;
	private final static char[] _jsp_string46;
	private final static char[] _jsp_string13;
	private final static char[] _jsp_string17;
	private final static char[] _jsp_string34;
	private final static char[] _jsp_string35;
	private final static char[] _jsp_string23;
	private final static char[] _jsp_string18;
	private final static char[] _jsp_string56;
	private final static char[] _jsp_string20;
	private final static char[] _jsp_string39;
	private final static char[] _jsp_string49;
	private final static char[] _jsp_string31;
	private final static char[] _jsp_string50;
	private final static char[] _jsp_string52;
	private final static char[] _jsp_string36;
	private final static char[] _jsp_string53;
	private final static char[] _jsp_string54;
	private final static char[] _jsp_string55;
	private final static char[] _jsp_string7;
	private final static char[] _jsp_string29;
	private final static char[] _jsp_string40;
	private final static char[] _jsp_string10;
	private final static char[] _jsp_string41;
	private final static char[] _jsp_string6;
	private final static char[] _jsp_string14;
	private final static char[] _jsp_string15;
	private final static char[] _jsp_string28;
	private final static char[] _jsp_string4;
	private final static char[] _jsp_string0;
	private final static char[] _jsp_string32;
	private final static char[] _jsp_string8;
	private final static char[] _jsp_string19;
	private final static char[] _jsp_string47;
	private final static char[] _jsp_string33;
	private final static char[] _jsp_string43;
	private final static char[] _jsp_string44;
	private final static char[] _jsp_string3;
	private final static char[] _jsp_string16;
	private final static char[] _jsp_string2;
	private final static char[] _jsp_string24;
	private final static char[] _jsp_string48;
	private final static char[] _jsp_string42;
	private final static char[] _jsp_string37;
	private final static char[] _jsp_string9;
	private final static char[] _jsp_string22;
	private final static char[] _jsp_string5;
	private final static char[] _jsp_string21;
	private final static char[] _jsp_string12;
	private final static char[] _jsp_string11;
	private final static char[] _jsp_string1;
	private final static char[] _jsp_string45;
	private final static char[] _jsp_string25;
	private final static char[] _jsp_string38;
	static {
		_jsp_string27 = "\r\n</script>\r\n<script language=\"JavaScript\" defer>\r\nonSetRightMenu();\r\n\r\n//alert(document.body.onload);\r\n//alert(window.onload);\r\n\r\nfunction onSetRightMenu(){\r\n	var objRightMenuDiv = document.getElementById(\"rightMenu\");\r\n	var objMenuDiv = document.getElementById(\"divTopMenu\");\r\n	var objhasTopTitleExtInput = document.getElementById(\"hasTopTitleExtInput\");\r\n	var toolbarmenudiv = parent.document.getElementById(\"toolbarmenudiv\");\r\n	if(needShow==true && objMenuDiv==null && objhasTopTitleExtInput==null&&toolbarmenudiv!=null){\r\n		objRightMenuDiv.style.display = \"none\";\r\n		objRightMenuDiv.style.visibility = \"hidden\";\r\n		objRightMenuDiv.style.position = \"absolute\";\r\n		//objRightMenuDiv.style.height = \""
				.toCharArray();
		_jsp_string30 = "\r\n		return false;\r\n		".toCharArray();
		_jsp_string26 = "\r\n<script language=\"JavaScript\">\r\n//\u00bd\u00e2\u00be\u00f6\u00d0\u00c2\u00c1\u00f7\u00b3\u00cc\u00bd\u00e7\u00c3\u00e6\u00d4\u00da\u00bc\u00d3\u00d4\u00d8\u00d2\u00b3\u00c3\u00e6\u00ca\u00b1\u00a3\u00ac\u00bb\u00e1\u00b3\u00f6\u00cf\u00d6\u00b6\u00a5\u00b2\u00bf\u00b2\u00cb\u00b5\u00a5\u00cf\u00c8\u00b3\u00f6\u00cf\u00d6\u00d4\u00d9\u00cf\u00fb\u00ca\u00a7\u00b5\u00c4\u00ce\u00ca\u00cc\u00e2 Start\r\nvar needShow = false;\r\nvar rightMenu=document.getElementById(\"rightMenu\");\r\n"
				.toCharArray();
		_jsp_string51 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\">\r\n														<span class=\"STYLE6\" id=\"result2\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string46 = "</a>\r\n																	</div>\r\n																</td>\r\n															</tr>\r\n														</table>\r\n													</td>\r\n												</tr>\r\n												"
				.toCharArray();
		_jsp_string13 = "\";\r\n	var shtml = \"<html><head><link href='/wui/theme/\" + GLOBAL_CURRENT_THEME + \"/skins/\" + GLOBAL_SKINS_FOLDER + \"/contextmenu/contextmenu.css' rel='stylesheet' type='text/css' /><link rel='stylesheet' href='/css/Weaver.css'></head><body style='background-color:transparent' leftmargin=0 topmargin=0 bottommargin=0 "
				.toCharArray();
		_jsp_string17 = "\r\n}\r\n\r\n//\u00d3\u00c9\u00d4\u00ad\u00c0\u00b4\u00b5\u00c4apXPDropDown.class\u00d7\u00aa\u00ce\u00aa\u00d6\u00b1\u00bd\u00d3\u00d3\u00c3Button\u00a3\u00ac2003-11-18\u00d1\u00ee\u00b9\u00fa\u00c9\u00fa\u00a1\u00a3 end\r\n\r\n</script>\r\n"
				.toCharArray();
		_jsp_string34 = "\r\n	rightMenu.className = \"clickRightMenu\";\r\n	\r\n	document.oncontextmenu=showRightClickMenu\r\n	\r\n	document.body.onclick = hideRightClickMenu;\r\n\r\n	rightMenu.style.left = document.body.clientWidth-rightMenu.offsetWidth-20;\r\n	rightMenu.style.top = 50;\r\n\r\n	"
				.toCharArray();
		_jsp_string35 = "\r\n	rightMenu.style.visibility=\"visible\";\r\n	if (!window.ActiveXObject) {\r\n		rightMenu.style.display=\"\";\r\n	}\r\n	"
				.toCharArray();
		_jsp_string23 = "visible".toCharArray();
		_jsp_string18 = "\r\n<div id=\"rightMenu\" name=\"rightMenu\"  style=\"Z-INDEX:1000\">\r\n<!--//\u00d3\u00c9\u00d4\u00ad\u00c0\u00b4\u00b5\u00c4apXPDropDown.class\u00d7\u00aa\u00ce\u00aa\u00d6\u00b1\u00bd\u00d3\u00d3\u00c3Button\u00a3\u00ac2003-11-18\u00d1\u00ee\u00b9\u00fa\u00c9\u00fa\u00a1\u00a3 -->\r\n<iframe id=\"rightMenuIframe\" name=\"rightMenuIframe\"  frameborder=0 marginheight=0 marginwidth=0 hspace=0 vspace=0 scrolling=no width=\""
				.toCharArray();
		_jsp_string56 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result7\"></span>\r\n													</td>\r\n												</tr>\r\n											</table>\r\n										</td>\r\n									</tr>\r\n								</table>\r\n							</td>\r\n						</tr>\r\n					</table>\r\n				</td>\r\n			</tr>\r\n		</table>\r\n</div>\r\n"
				.toCharArray();
		_jsp_string20 = "\" style=\"background-color:transparent\">\r\n</iframe>\r\n</div>\r\n"
				.toCharArray();
		_jsp_string39 = "\r\n//alert(rightMenu.style.visibility);\r\n//alert(rightMenu.innerHTML);\r\n\r\n function viewSourceUrl()\r\n{\r\n\r\n    prompt(\"\",location);\r\n\r\n}\r\nvar mouse_event;\r\nfunction onRCMenu_copy(){\r\n	var copy_text = document.selection.createRange().text;\r\n	//alert(copy_text);\r\n	try{\r\n		if(copy_text==''){\r\n			copy_text = doccontentifm.document.selection.createRange().text;\r\n		}\r\n	}catch(e){\r\n	}\r\n	window.clipboardData.setData(\"Text\", copy_text);\r\n	rightMenu.style.visibility=\"hidden\";\r\n	rightMenu.style.display=\"none\";\r\n}\r\n\r\nfunction onRCMenu_plaster(){\r\n	if(window.clipboardData.getData(\"Text\") != null){\r\n		try{\r\n			var plaster_text = window.clipboardData.getData(\"Text\");\r\n			//e = document.activeElement;\r\n			//e = body.focus;\r\n            //alert(focus_e.tagName);\r\n			if(focus_e && focus_e.tagName==\"INPUT\" && focus_e.type==\"text\"){\r\n				focus_e.value += plaster_text;\r\n			}else if(focus_e && focus_e.tagName==\"TEXTAREA\"){\r\n				focus_e.value += plaster_text;\r\n			}\r\n			rightMenu.style.visibility=\"hidden\";\r\n			rightMenu.style.display=\"none\";\r\n		}catch(e){\r\n        }\r\n	}\r\n}\r\nfunction showTDTitle(o)\r\n{\r\n	o.title = o.innerText;\r\n}\r\n//\u00cf\u00d4\u00ca\u00be\u00d6\u00b8\u00b6\u00a8\u00d0\u00f2\u00ba\u00c5\u00b5\u00c4\u00d3\u00d2\u00bc\u00fc\u00b2\u00cb\u00b5\u00a5 luow TD30081 TD30084\r\nfunction showRCMenuItem(menuIntemIndex){	\r\n	var rightMenuIframeDocument = document.getElementById(\"rightMenuIframe\").contentWindow.document;\r\n	rightMenuIframeDocument.getElementById('menuItemDivId'+menuIntemIndex).style.display=\"\";\r\n	var menuCount = 0; \r\n	jQuery(\"#menuTable\", rightMenuIframeDocument).children().each(function () {\r\n		if (jQuery(this).css(\"display\") != null && jQuery(this).css(\"display\").toLowerCase() != \"none\") {\r\n			menuCount++;\r\n		}\r\n	});\r\n	\r\n	\r\n	jQuery(\"#rightMenuIframe\").css(\"height\", (menuCount * 24 + 6) + \"px\");\r\n}\r\n//\u00d2\u00fe\u00b2\u00d8\u00d6\u00b8\u00b6\u00a8\u00d0\u00f2\u00ba\u00c5\u00b5\u00c4\u00d3\u00d2\u00bc\u00fc\u00b2\u00cb\u00b5\u00a5 luow TD30081 TD30084\r\nfunction hiddenRCMenuItem(menuIntemIndex){	\r\n	var rightMenuIframeDocument = document.getElementById(\"rightMenuIframe\").contentWindow.document;\r\n	rightMenuIframeDocument.getElementById('menuItemDivId'+menuIntemIndex).style.display=\"none\";\r\n	var menuCount = 0; \r\n	jQuery(\"#menuTable\", rightMenuIframeDocument).children().each(function () {\r\n		if (jQuery(this).css(\"display\") != null && jQuery(this).css(\"display\").toLowerCase() != \"none\") {\r\n			menuCount++;\r\n		}\r\n	});\r\n	\r\n	jQuery(\"#rightMenuIframe\").css(\"height\", (menuCount * 24 + 6) + \"px\");\r\n}\r\n\r\nwriteIframe();\r\n</script>\r\n\r\n\r\n\r\n\r\n<script type=\"text/javascript\">\r\n//\u00d3\u00c3\u00bb\u00a7\u00d3\u00ef\u00d1\u00d4\r\nvar languageid = '"
				.toCharArray();
		_jsp_string49 = "\r\n											</table>\r\n										</td>\r\n										<td width=\"60%\">\r\n											<table width=\"100%\" border=\"0\" cellspacing=\"0\"\r\n												cellpadding=\"0\" onselectstart=\"return false\">\r\n												<tr>\r\n													<td height=\"15\" colspan=\"2\">\r\n													<img id=\"closetext\" style=\"color: #262626; cursor: hand;\"\r\n																src=\"/images/messageimages/temp/closeicno.gif\" width=\"7\"\r\n																height=\"7\" onclick=\"javascript:closediv();\">\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td width=\"20%\" height=\"25\">\r\n														<div align=\"center\">\r\n															<img id=\"isonline\"\r\n																src=\"/images/messageimages/temp/online.gif\" width=\"21\"\r\n																height=\"20\">\r\n														</div>\r\n													</td>\r\n													<td width=\"80%\">\r\n														<span class=\"STYLE6\" id=\"result0\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string31 = "\r\n        focus_e = document.activeElement;\r\n        var evt = e?e:(window.event?window.event:null);\r\n		var rightedge=document.body.clientWidth-evt.clientX\r\n		var bottomedge=document.body.clientHeight-evt.clientY\r\n		/**\r\n		if (rightedge<rightMenu.offsetWidth)\r\n			rightMenu.style.left=document.body.scrollLeft+event.clientX-rightMenu.offsetWidth\r\n		else\r\n			rightMenu.style.left=document.body.scrollLeft+event.clientX\r\n		if (bottomedge<rightMenu.offsetHeight)\r\n			rightMenu.style.top=document.body.scrollTop+event.clientY-rightMenu.offsetHeight\r\n		else\r\n			rightMenu.style.top=document.body.scrollTop+event.clientY\r\n		*/\r\n		\r\n		if(rightedge>evt.clientX){\r\n			\r\n			rightMenu.style.left=document.body.clientWidth-rightedge;\r\n			\r\n		}else{\r\n			rightMenu.style.left=evt.clientX-rightMenu.offsetWidth;\r\n		}\r\n		if(bottomedge>evt.clientY){\r\n			rightMenu.style.top=evt.clientY+document.body.scrollTop;\r\n		}else{\r\n			rightMenu.style.top=document.body.clientHeight+document.body.scrollTop-bottomedge;\r\n		}\r\n		if(rightMenu.offsetHeight>bottomedge){\r\n			    rightMenu.style.top=document.body.clientHeight+document.body.scrollTop-rightMenu.offsetHeight;\r\n		}\r\n\r\n\r\n		rightMenu.style.visibility=\"visible\"	\r\n		rightMenu.style.display=\"\";	\r\n		//evt.stopPropagation();\r\n		evt.cancelBubble = true\r\n		evt.returnValue = false; \r\n		return false\r\n}\r\n\r\nfunction hideRightClickMenu(){\r\n	"
				.toCharArray();
		_jsp_string50 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result1\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string52 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result3\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string36 = "\r\n	rightMenu.style.visibility=\"hidden\";\r\n	if (!window.ActiveXObject) {\r\n		rightMenu.style.display=\"none\";\r\n	}\r\n	"
				.toCharArray();
		_jsp_string53 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result4\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string54 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result5\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string55 = "&nbsp:&nbsp</span>\r\n														</div>\r\n													</td>\r\n													<td class=\"simplehrmhead\" style=\"LEFT: 0px; WIDTH: 80%; WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;\">\r\n														<span class=\"STYLE6\" id=\"result6\"></span>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td class=\"simplehrmhead\" height=\"25\">\r\n														<div align=\"right\">\r\n															<span class=\"STYLE6\">"
				.toCharArray();
		_jsp_string7 = ")-1 : Math.ceil(bodyWidth/".toCharArray();
		_jsp_string29 = "\r\n\r\n\r\nvar focus_e;\r\nfunction showRightClickMenu(e){\r\n	\r\n		"
				.toCharArray();
		_jsp_string40 = "'\r\n</script>\r\n<script type=\"text/javascript\"\r\n	src=\"/js/messagejs/highslide/highslide-full.js\"></script>\r\n<script type=\"text/javascript\" src=\"/js/messagejs/simplehrm.js\"></script>\r\n<script type=\"text/javascript\" src=\"/js/messagejs/messagejs.js\"></script>\r\n<script type=\"text/javascript\">\r\n	\r\n	function getImageResult(o)\r\n	{\r\n		hs.graphicsDir = '/js/messagejs/highslide/graphics/';\r\n		hs.outlineType = 'rounded-white';\r\n		hs.fadeInOut = true;\r\n		hs.headingEval = 'this.a.title';\r\n		var hrefimg = document.getElementById(\"resourceimghref\").href;\r\n		if(hrefimg.indexOf(\"javascript\")!=-1)\r\n		{\r\n			void(0);\r\n			return false;\r\n		}\r\n		else\r\n		{\r\n			return hs.expand(o);\r\n		}\r\n	}\r\n	\r\n</script>\r\n<style type=\"text/css\">\r\n<!--\r\n.STYLE4 {\r\n	font-size: 12;\r\n	color: #2B6DAA;\r\n}\r\n\r\n.STYLE6 {\r\n	FONT-FAMILY: Verdana;\r\n	FONT-SIZE: 9pt;\r\n}\r\n.simplehrmhead {\r\n	vertical-align:baseline;\r\n}\r\n#mainsupports {\r\n	position: absolute;\r\n	font-size: 12px;\r\n	display: none;\r\n	z-index: 1;\r\n}\r\n\r\n#closetext {\r\n	float: right;\r\n	margin-right: 20px;\r\n}\r\n\r\n#mainsupports li a:link {\r\n	color: #2a788e;\r\n	font-size: 12px;\r\n	text-decoration: none;\r\n}\r\n\r\n#mainsupports li a:visited {\r\n	color: #227086;\r\n	font-size: 12px;\r\n	text-decoration: none;\r\n}\r\n\r\n#mainsupports li a:hover {\r\n	color: #FFFFFF;\r\n	font-size: 12px;\r\n	text-decoration: none;\r\n}\r\n\r\n#resourceimg {\r\n	width: 100px;\r\n	height: 115px;\r\n	margin-top: 0px;\r\n}\r\n-->\r\n</style>\r\n<div id=\"mainsupports\" style=\"display;none;z-index:999;\">\r\n		<table width=\"373\" height=\"216\" border=\"0\" align=\"center\"\r\n			cellpadding=\"0\" cellspacing=\"0\">\r\n			<tr>\r\n				<td rowspan=\"13\" bgcolor=\"#AAAAAA\">\r\n					<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\"\r\n						cellspacing=\"1\">\r\n						<tr>\r\n							<td bgcolor=\"#FFFFFF\">\r\n								<table width=\"100%\" height=\"210\" border=\"0\" cellpadding=\"0\"\r\n									cellspacing=\"0\" style=\"padding-bottom:6px;\">\r\n									<tr>\r\n										<td width=\"40%\" align=\"center\" valign=\"middle\">\r\n											<table width=\"114\" height=\"179\" border=\"0\" align=\"center\"\r\n												cellpadding=\"0\" cellspacing=\"0\">\r\n												<tr>\r\n													<td height=\"130\" align=\"center\" valign=\"middle\"\r\n														bgcolor=\"#C4C4C4\">\r\n														<table width=\"100%\" height=\"130\" border=\"0\" align=\"center\"\r\n															cellpadding=\"0\" cellspacing=\"1\">\r\n															<tr>\r\n																<td height=\"100%\" align=\"center\" valign=\"middle\"\r\n																	bgcolor=\"#FFFFFF\">\r\n																		<a id='resourceimghref' href=\"javascript:void(0);\"\r\n																			onclick=\"return getImageResult(this);\" onFocus=\"this.blur()\"> <img\r\n																				id='resourceimg' src=\"/images/messageimages/temp/man.gif\" border=0 width=\"100px\"\r\n																				height=\"115\">\r\n																		</a>\r\n																</td>\r\n															</tr>\r\n														</table>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td height=\"18\" style=\"padding-left:5px;\">\r\n														<table width=\"100%\" border=\"0\" cellspacing=\"0\"\r\n															cellpadding=\"0\" style=\"margin-top:6px;margin-bottom:2px;\">\r\n															<tr>\r\n																<td width=\"25%\" class=\"STYLE4\">\r\n																	<div align=\"right\">\r\n																		<img src=\"/images/messageimages/temp/email.gif\"\r\n																			width=\"16\" height=\"12\" align=\"absmiddle\" title=\""
				.toCharArray();
		_jsp_string10 = "\r\n		var objMenuDiv = document.getElementById(\"divTopMenu\");\r\n		if(objMenuDiv!=null){\r\n			objMenuDiv.style.height = h + \"px\";\r\n			//objMenuDiv.style.border = \"1px solid #979797\";\r\n			document.getElementById(\"rightMenu\").style.border = \"0px\";\r\n			//document.getElementById(\"divTopMenu\").style.weight = bodyWidth+\"px\";\r\n			//window.document.body.style.marginTop = h + \"px\";\r\n		}else{\r\n			document.getElementById(\"rightMenu\").style.height = h + \"px\";\r\n			//document.getElementById(\"rightMenu\").style.weight = bodyWidth+\"px\";\r\n			window.document.body.style.marginTop = h + \"px\";\r\n		}\r\n	"
				.toCharArray();
		_jsp_string41 = "\">\r\n																	</div>\r\n																</td>\r\n																<td width=\"81%\" class=\"STYLE4\" style=\"padding-left:10px;\">\r\n																	<div align=\"left\">\r\n																		<a href=\"javascript:openemail();\">"
				.toCharArray();
		_jsp_string6 = ">1 ? Math.ceil(bodyWidth/".toCharArray();
		_jsp_string14 = " oncontextmenu='return false'".toCharArray();
		_jsp_string15 = ">\";\r\n	shtml += shtmlTemp;	\r\n	shtml += \"</body></html>\";\r\n	document.getElementById(\"rightMenuIframe\").contentWindow.document.writeln(shtml);\r\n	document.getElementById(\"rightMenuIframe\").contentWindow.document.close(); \r\n	try{\r\n	 	if(document.getElementById(\"rightMenuIframe\").contentWindow.document.getElementById(\"menuTable\").innerHTML == \"\"){\r\n			document.getElementById(\"rightMenu\").style.display = \"none\";\r\n		}\r\n	}catch(e){}\r\n	"
				.toCharArray();
		_jsp_string28 = "px\";\r\n	}\r\n	else\r\n	{\r\n		objRightMenuDiv.style.visibility = \"visible\";\r\n		objRightMenuDiv.style.display=\"\";\r\n		objRightMenuDiv.style.position = \"absolute\";\r\n	}\r\n}\r\n//\u00bd\u00e2\u00be\u00f6\u00d0\u00c2\u00c1\u00f7\u00b3\u00cc\u00bd\u00e7\u00c3\u00e6\u00d4\u00da\u00bc\u00d3\u00d4\u00d8\u00d2\u00b3\u00c3\u00e6\u00ca\u00b1\u00a3\u00ac\u00bb\u00e1\u00b3\u00f6\u00cf\u00d6\u00b6\u00a5\u00b2\u00bf\u00b2\u00cb\u00b5\u00a5\u00cf\u00c8\u00b3\u00f6\u00cf\u00d6\u00d4\u00d9\u00cf\u00fb\u00ca\u00a7\u00b5\u00c4\u00ce\u00ca\u00cc\u00e2 End\r\n</script>\r\n<script language=\"JavaScript\">\r\ndoMenuInit();\r\nfunction doMenuInit(){\r\n	var objRightMenuDiv = document.getElementById(\"rightMenu\");\r\n	var objhasTopTitleExtInput = document.getElementById(\"hasTopTitleExtInput\");\r\n	if(objhasTopTitleExtInput!=null && objhasTopTitleExtInput.value==\"1\"){\r\n		try{\r\n			objRightMenuDiv.style.position = \"relative\";\r\n			objRightMenuDiv.style.height = \"0px\";\r\n			objRightMenuDiv.style.display = \"none\";\r\n		}catch(e){}\r\n	}else{\r\n		try{\r\n			var objMenuDiv = document.getElementById(\"divTopMenu\");\r\n			var rightMenuIframe = document.getElementById(\"rightMenuIframe\");\r\n			if(objMenuDiv!=null){\r\n				if(rightMenuIframe!=null){\r\n					objMenuDiv.appendChild(rightMenuIframe);\r\n				}\r\n				objRightMenuDiv.style.position = \"relative\";\r\n				objRightMenuDiv.style.height = \"0px\";\r\n				objRightMenuDiv.style.display = \"none\";\r\n			}else{\r\n				if(rightMenuIframe!=null){\r\n					objRightMenuDiv.appendChild(rightMenuIframe);\r\n					needShow = true;\r\n				}\r\n			}\r\n		}catch(e){}\r\n	}\r\n}\r\n"
				.toCharArray();
		_jsp_string4 = "\";\r\nfunction setMenuBoxHeightSelf(){\r\n	try{\r\n		var objhasTopTitleExtInput = document.getElementById(\"hasTopTitleExtInput\");\r\n		if(objhasTopTitleExtInput!=null && objhasTopTitleExtInput.value==\"1\"){\r\n			document.getElementById(\"rightMenu\").style.visibility = \"hidden\";\r\n			document.getElementById(\"rightMenu\").style.display=\"none\";\r\n		}\r\n	}catch(e){}\r\n	var menuCount = \""
				.toCharArray();
		_jsp_string0 = "\r\n\r\n\r\n".toCharArray();
		_jsp_string32 = "\r\n	rightMenu.style.visibility=\"hidden\";\r\n	rightMenu.style.display=\"none\";\r\n	"
				.toCharArray();
		_jsp_string8 = ");\r\n	var lineCount = Math.ceil(menuCount/menuCountLine);\r\n	var h = "
				.toCharArray();
		_jsp_string19 = "\" height=\"".toCharArray();
		_jsp_string47 = "\r\n												<tr id=\"showMessagerTrForSimpleHrm\" style=\"display:none;\">\r\n													<td height=\"18\" style=\"padding-left:5px;\">\r\n														<table width=\"100%\" border=\"0\" cellspacing=\"0\"\r\n															cellpadding=\"0\">\r\n															<tr>\r\n																<td width=\"25%\" class=\"STYLE4\">\r\n																	<div align=\"right\">\r\n																		<img src=\"/images/messageimages/temp/message.gif\"\r\n																			width=\"16\" height=\"16\" align=\"absmiddle\" title=\""
				.toCharArray();
		_jsp_string33 = "\r\n}\r\n\r\n\r\n	".toCharArray();
		_jsp_string43 = "\">\r\n																	</div>\r\n																</td>\r\n																<td width=\"81%\" class=\"STYLE4\" style=\"padding-left:10px;\">\r\n																	<div align=\"left\">\r\n																		<a href=\"javascript:openmessage();\">"
				.toCharArray();
		_jsp_string44 = "</a>\r\n																	</div>\r\n																</td>\r\n															</tr>\r\n														</table>\r\n													</td>\r\n												</tr>\r\n												\r\n												<tr>\r\n													<td height=\"18\" style=\"padding-left:5px;\">\r\n														<table width=\"100%\" border=\"0\" cellspacing=\"0\"\r\n															cellpadding=\"0\">\r\n															<tr>\r\n																<td width=\"25%\" class=\"STYLE4\">\r\n																	<div align=\"right\">\r\n																		<img src=\"/images/messageimages/temp/hrmresource.gif\"\r\n																			width=\"16\" height=\"16\" align=\"absmiddle\" title=\""
				.toCharArray();
		_jsp_string3 = "\";\r\n//\u00b5\u00b1\u00c7\u00b0\u00d6\u00f7\u00cc\u00e2\u00ca\u00b9\u00d3\u00c3\u00b5\u00c4\u00c6\u00a4\u00b7\u00f4\r\nvar GLOBAL_SKINS_FOLDER = \""
				.toCharArray();
		_jsp_string16 = "\r\n    try{\r\n	setMenuBoxHeightSelf();\r\n    }catch(e){}\r\n	"
				.toCharArray();
		_jsp_string2 = "\">\r\n\r\n<script language=\"JavaScript\">\r\n//\u00b5\u00b1\u00c7\u00b0\u00ca\u00b9\u00d3\u00c3\u00b5\u00c4\u00d6\u00f7\u00cc\u00e2\r\nvar GLOBAL_CURRENT_THEME = \""
				.toCharArray();
		_jsp_string24 = ";display:none;\" align=\"left\"  allowtransparency=\"true\" style=\"background-color:transparent\" >\r\n	</div>\r\n	<div id=\"divRightMenuIframe\" name=\"divRightMenuIframe\" style=\"display:none\">\r\n		<iframe id=\"rightMenuIframe\" name=\"rightMenuIframe\" frameborder=0 marginheight=0 marginwidth=0 hspace=0 vspace=0 scrolling=no width=\"100%\" height=\""
				.toCharArray();
		_jsp_string48 = "\">\r\n																	</div>\r\n																</td>\r\n																<td width=\"81%\" class=\"STYLE4\" style=\"padding-left:10px;\">\r\n																	<div align=\"left\">\r\n																		<a href=\"javascript:showHrmChat();\">"
				.toCharArray();
		_jsp_string42 = "</a>\r\n																	</div>\r\n																</td>\r\n															</tr>\r\n														</table>\r\n													</td>\r\n												</tr>\r\n												<tr>\r\n													<td height=\"18\" style=\"padding-left:5px;\">\r\n														<table width=\"100%\" border=\"0\" cellspacing=\"0\"\r\n															cellpadding=\"0\">\r\n															<tr>\r\n																<td width=\"25%\" class=\"STYLE4\">\r\n																	<div align=\"right\">\r\n																		<img src=\"/images/messageimages/temp/msn.gif\"\r\n																			width=\"16\" height=\"16\" align=\"absmiddle\" title=\""
				.toCharArray();
		_jsp_string37 = "\r\n".toCharArray();
		_jsp_string9 = "*lineCount;\r\n	//window.status = \"bodyWidth:\"+bodyWidth+\" | menuCountLine:\"+menuCountLine+\" | lineCount:\"+lineCount;\r\n	document.getElementById(\"rightMenuIframe\").height = h + \"px\";\r\n\r\n	window.frames[\"rightMenuIframe\"].document.getElementById(\"menuTable\").style.height = h + \"px\";\r\n	"
				.toCharArray();
		_jsp_string22 = "hidden".toCharArray();
		_jsp_string5 = "\";\r\n	var bodyWidth = window.document.body.offsetWidth;\r\n	var menuCountLine = bodyWidth/"
				.toCharArray();
		_jsp_string21 = "\r\n	<div id=\"rightMenu\" name=\"rightMenu\" class=\"topmenuTable\" style=\"padding:3px;left:0px;right:6px;top:0px;margin-top:0px;posTop:0px;position:absolute;visibility:"
				.toCharArray();
		_jsp_string12 = "\r\n}\r\nfunction writeIframe()\r\n{	 \r\n	var shtmlTemp = \""
				.toCharArray();
		_jsp_string11 = "\r\n	try{\r\n		document.getElementById(\"divTopMenu\").style.border = \"0px\";\r\n	}catch(e){}\r\n	try{\r\n		document.getElementById(\"rightMenu\").style.border = \"0px\";\r\n	}catch(e){}\r\n	"
				.toCharArray();
		_jsp_string1 = "\r\n<input type=\"hidden\" id=\"needShow\" name=\"needShow\" value=\""
				.toCharArray();
		_jsp_string45 = "\">\r\n																	</div>\r\n																</td>\r\n																<td width=\"81%\" class=\"STYLE4\" style=\"padding-left:10px;\">\r\n																	<div align=\"left\">\r\n																		<a href=\"javascript:openhrmresource();\">"
				.toCharArray();
		_jsp_string25 = "\" style=\"background-color:transparent\">\r\n		</iframe>\r\n	</div>\r\n"
				.toCharArray();
		_jsp_string38 = "\r\n\r\n".toCharArray();
	}

}
